Here's what I have working, but it seems over-kill...
On successful login the modal iframe is loaded with index.php?
option=com_planner&view=redirect (com_planner is a custom component).
The only reason I have the view "redirect" is to reload the parent
window.
The redirect view.html.php file has this...
class PlannerViewRedirect extends JView {
function display($tpl = null) {
$doc = &JFactory::getDocument();
$js = 'window.parent.location.href = \''.JRoute::_('index.php?
Itemid=49').'\';';
$doc->addScriptDeclaration($js);
parent::display();
}
}
So when this is loaded the js in the head redirects the parent to the
specific page. This works, but I've got a whole new view just to
handle it. I'm sure I'm missing something obvious. Could I cut this
short and somehow handle it all in the controller?